package com.push.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.push.common.annotation.Excel;
import com.push.common.core.domain.BaseEntity;

/**
 * 附件管理对象 biz_article_appendix
 *
 * @author yanxi
 * @date 2022-08-30
 */
public class BizArticleAppendix extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 附件名称 */
    @Excel(name = "附件名称")
    private String appendixName;

    /** 附件链接 */
    @Excel(name = "附件链接")
    private String appendixUrl;

    /** 文章ID */
    @Excel(name = "文章ID")
    private Long articleId;

    /** $column.columnComment */
    private String tenantId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAppendixName(String appendixName)
    {
        this.appendixName = appendixName;
    }

    public String getAppendixName()
    {
        return appendixName;
    }
    public void setAppendixUrl(String appendixUrl)
    {
        this.appendixUrl = appendixUrl;
    }

    public String getAppendixUrl()
    {
        return appendixUrl;
    }
    public void setArticleId(Long articleId)
    {
        this.articleId = articleId;
    }

    public Long getArticleId()
    {
        return articleId;
    }
    public void setTenantId(String tenantId)
    {
        this.tenantId = tenantId;
    }

    public String getTenantId()
    {
        return tenantId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appendixName", getAppendixName())
            .append("appendixUrl", getAppendixUrl())
            .append("articleId", getArticleId())
            .append("tenantId", getTenantId())
            .toString();
    }
}
